package io.qar.images.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.qar.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import io.qar.commons.mybatis.dto.CreateAndUpdatedDTO;

import java.io.Serializable;
import java.util.Date;

/**
* 图片列表
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-07-13
*/
@Data
@ApiModel(value = "图片列表")
public class ImagesDTO extends CreateAndUpdatedDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "图片id")
    private Long imageId;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "大小")
    private Integer size;
    @ApiModelProperty(value = "图片类型")
    private Integer imageType;
    @ApiModelProperty(value = "归属类型")
    private Integer imageBelong;
    @ApiModelProperty(value = "归属id")
    private Long belongId;
    @ApiModelProperty(value = "启用状态")
    private Integer isActive;
    @ApiModelProperty(value = "是否推荐")
    private Integer isRecommend;
    @ApiModelProperty(value = "是否已删除")
    private Integer isDelete;
    @ApiModelProperty(value = "url")
    private String url;
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

}